﻿namespace Quickly.Certs.Core
{
    public interface IDomainNameStore
    {
        Task<List<long>> LoadCertificateIdsAsync(CancellationToken cancellationToken);
        Task<List<string>> LoadAsync(CancellationToken cancellationToken);
        Task SaveAsync(List<string> domainNames, long certFileId, CancellationToken cancellationToken);
        Task<List<long>> GetCertificateIdsAsync(List<string> dnsNames, CancellationToken cancellationToken);
    }
}
